<% content_for :marginNavigation do %>
    <div class="box">
        <h3>Episodes</h3>
        <ul class="bottom">
            <% @videos.each do |video| %>
                <li>
                    <%= link_to "Episode #{video.id}",
                            :controller => 'proof_islam_truth_videos',
                            :id => video.id %>
                </li>
            <% end %>
        </ul>
    </div>
<% end %>

<h1>Proof Islam is the Truth Episode <%= @video.id %></h1>

<div class="video">
    <object width="425" height="344">
        <param name="movie" value="http://www.youtube.com/v/NOwA0v026wY&hl=en&fs=1&color1=0x234900&color2=0x4e9e00"></param>
        <param name="allowFullScreen" value="true"></param>
        <param name="allowscriptaccess" value="always"></param>
        <embed src="http://www.youtube.com/v/<%= @video.youtube_id %>&hl=en&fs=1&color1=0x234900&color2=0x4e9e00" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed>
    </object>
</div>

<div id="videoNavigation">
    <%= link_to '< previous', :controller => 'proof_islam_truth_videos', :id => @video.id.to_i - 1 %>
    <%= link_to 'next >', :controller => 'proof_islam_truth_videos', :id => @video.id.to_i + 1 %>
</div>